This section contains examples in a tutorial format, illustrating the use of script with standard tools. The following list may be used as a reference to see which tools are included in which examples.
Not all examples are applicable to all installations. For instance, those using the Group Navigation Bar require a group navigation hierarchy, and many examples are best illustrated with live data.
|
Control |
Used in… |
|---|---|
|
ActiveX |
Adding Automatic Polling to a Screen Using a ListView Control to Select Trends to Display |
|
Button |
Building a Setpoint Screen Polling All Rows in a Group Grid Control Scripting a HyperLink Storing and Retrieving a WatchList Toggling Layer Visibility in Run Mode Using a Combo Box to Select a Screen |
|
Check Button |
Adding Automatic Polling to a Screen |
|
Combo Box |
Adding Automatic Polling to a Screen Using a Combo Box to Select a Screen |
|
Edit Box |
Building a Setpoint Screen |
|
Group Grid Control |
Setting Facilities Per Row in a Group Grid Control Polling all rows in a Group Grid Control |
|
Group Navigation Bar |
Synchronizing the View with a Group Navigation Bar |
|
List Box |
Building a Setpoint Screen Selecting the Current Facility from a List |
|
Radio Button |
Using a Radio Button to select Background Color |
|
Slider |
Configuring a Context Menu Using a Slider |
|
Text |
Configuring a Context Menu Using a Combo Box to Select a Screen |
|
Trend |
Using a ListView Control to Select Trends to Display |
|
WatchList |
Storing and Retrieving a WatchList |
Note: The SCRADMIN (Screen Admin Examples), SCRDIAGS (Screen Diagnotic Examples), and SCREXAMP (Screen Examples) folders in the APPS contains many sample screens and script. Be sure to browse through these files to familiarize yourself with how scripting is commonly added to object events.
More:
Adding Automatic Polling to a Screen
Polling All Rows in a Group Grid Control
Selecting the Current Facility from a List
Sending Individual Data Group Elements
Setting Facilities Per Row in a Group Grid Control
Storing and Retrieving a WatchList
Synchronizing the View with a Group Navigation Bar
Toggling Layer Visibility in Run Mode
Using a Combo Box to Select a Screen
Using a ListView Control to Select Trends to Display
Using a Radio Button to Select a Background Color